package com.shuogesha.platform.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.shuogesha.platform.entity.Dictionaryctg;

@FeignClient(value = "cloudFast-platform-dictionaryctg")
public interface DictionaryctgFeignClient {
	@RequestMapping(value = "/dictionaryctg/list")
	public Object list(@RequestParam("name") String name, @RequestParam("pageNo") Integer pageNo,
			@RequestParam("pageSize") Integer pageSize);

	@RequestMapping(value = "/dictionaryctg/get")
	public Object get(@RequestParam("id") Long id);

	@RequestMapping(value = "/dictionaryctg/save", method = RequestMethod.POST)
	public Object save(@RequestBody Dictionaryctg bean);

	@RequestMapping(value = "/dictionaryctg/update", method = RequestMethod.POST)
	public Object update(@RequestBody Dictionaryctg bean);

	@RequestMapping(value = "/dictionaryctg/delete")
	public Object delete(Long[] ids);
}
